package com.itheima.service;

import com.itheima.bean.Menu;
import com.itheima.bean.Restaurant;

import java.io.IOException;
import java.util.List;

public interface RestaurantService {
    //浏览指定名称餐厅
    public Restaurant browseRestaurant(String name) throws Exception;
    //浏览所有餐厅
    public List<Restaurant> browseRestaurants() throws IOException;
    //添加餐厅
    public void addRestaurant(String name, List<Menu> menuList) throws Exception;
}
